package com.gzsxy.esjy.service.cart.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gzsxy.esjy.service.base.dto.response.CartRsp;
import com.gzsxy.esjy.service.cart.entity.Cart;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 购物车
 * @date 2022/2/17 18:41
 */
@Repository
public interface CartMapper extends BaseMapper<Cart> {


    /**
     * @description: 根据用户id获取当前购物车
     * @param
     * @return
     */
    List<CartRsp> getCartByUserId(String userId);
}
